package com.example.understandvideo.mapper;

import com.example.understandvideo.pojo.MarathonPlayer;
import com.example.understandvideo.pojo.request.CommonSearchRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MarathonPlayerDao {
    int deleteByPrimaryKey(Long id);

    int insert(MarathonPlayer record);

    int insertSelective(MarathonPlayer record);

    MarathonPlayer selectByPrimaryKey(Long id);
    List<MarathonPlayer> selectAll();

    int updateByPrimaryKeySelective(MarathonPlayer record);

    int updateByPrimaryKey(MarathonPlayer record);

    Long count(CommonSearchRequest request);

    List<MarathonPlayer> search(CommonSearchRequest request);
}